package com.itheima.domain.mongo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(collection = "sound_user")
public class SoundUser implements Serializable {

    private ObjectId id;
    private Long userId; //用户id
    private Long sid; //语音id
    private Long sendUserId; //发送人id
    private Long today; //接受时间

}
